

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

	<meta charset="utf-8" />

	<title></title>


</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed">

	<!-- BEGIN CONTAINER -->

	<div class="page-container row-fluid">

		<!-- BEGIN SIDEBAR -->

			<!-- Import Menu -->        
			<jsp:include page="/WEB-INF/adminLayouts/menu.jsp"></jsp:include>

		<!-- END SIDEBAR -->

		<!-- BEGIN PAGE -->

		<div class="page-content">

			<!-- BEGIN PAGE CONTAINER-->        

			<div class="container-fluid">

				<!-- BEGIN PAGE HEADER-->

				<c:if test="${not empty message}">
					<div id="message" class="alert alert-success"><button data-dismiss="alert" class="close"></button>${message}</div>
				</c:if>
				<div class="row-fluid">

					<div class="span12">

						<!-- BEGIN STYLE CUSTOMIZER -->
						<!-- Import Style Setting Button -->        
						<jsp:include page="/WEB-INF/adminLayouts/style-setting.jsp"></jsp:include>
						<!-- END BEGIN STYLE CUSTOMIZER -->  

						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">会员卡白名单列表</h3>
						<ul class="breadcrumb">
							<li>
								<i class="icon-home"></i>
								<a href="${ctx}">首页</a> 
								<i class="icon-angle-right"></i>
							</li>
							<li>
								<a href="${ctx}/cardWhiteList/list">白名单列表</a> 
								<i class="icon-angle-right"></i>
							</li>
							<li>新增白名单</li>
							
						</ul>
						<!-- END PAGE TITLE & BREADCRUMB-->
					</div>
				</div>

				<!-- END PAGE HEADER-->

				<!-- BEGIN PAGE CONTENT-->

				<div class="row-fluid">
					<div class="">
						<!-- BEGIN BORDERED TABLE PORTLET-->
						<div class="portlet box red">
							<div class="portlet-title">
								<div class="caption"><i class="icon-user"></i> 白名单列表</div>
							</div>

							<div class="portlet-body form">

								<!-- BEGIN FORM-->

								<form action="${ctx}/admin/cardWhiteList/save" id="inputForm" method="post" class="form-horizontal">
									<div class="control-group">
										<label class="control-label">微信名称<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="nameList"  class="span6 m-wrap"/>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">微信名称<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="nameList" class="span6 m-wrap"/>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">微信名称<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="nameList" class="span6 m-wrap"/>
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">微信名称<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="nameList" class="span6 m-wrap"/>
										</div>
									</div>
									<div class="form-actions">
										<button type="submit" class="btn purple">提交</button>
										<button type="button" class="btn" onclick="history.back()">返回</button>
									</div>
								</form>

								<!-- END FORM-->

							</div>

						</div>

						<!-- END BORDERED TABLE PORTLET-->

					</div>

				</div>

				<!-- END PAGE CONTENT-->

			</div>

			<!-- END PAGE CONTAINER-->

		</div>

		<!-- END PAGE -->

	</div>
	
	<script>
		$(document).ready(function() {
			//聚焦第一个输入框
			$("#name").focus();

            $('#inputForm').validate();
		});
	</script>
</body>
	
</html>
